package com.goldwind.user.service;

import com.goldwind.pojo.User;
import com.goldwind.pojo.Channel;

import java.util.List;

public interface userService {
    public User selectByEmail(String email);

    public List<User> selectAll();

    public int updateUser(User user);

    public List<Channel> selectChannel(int userId);

    public int createChannel(Channel channel);

    public void concat(int userId);

    public  List<Channel> findChannel(String sort);

    public List<Channel> suggestChannel();

    public List<Channel> loveChannel(int  userId);

    public List<Channel> searchChannel(String name);

    public int entryChannel(int userId,int cId);

    public List<Integer> addedChannels(int userId);
}
